Operations-Contact: Dennis Krause for Test AG from 1030: Add
Operations Contact to Partner| name | value |
|---|---|
| operationsContactPerson | Dennis Krause |
HTTP GET "/api/hs/office/relations?relationType=OPERATIONS&name=Dennis+Krause" \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 200 OK
[ {
"uuid" : "d9a424aa-9b35-4d31-84d9-b9490c5bc77e", // Operations-Contact: Dennis Krause for Test AG
"anchor" : {
"uuid" : "9e12338f-c1ea-4237-9d64-f085a84850c6", // Person: Test AG
"personType" : "LEGAL_PERSON",
"tradeName" : "Test AG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "453beb88-f626-4b67-9e28-b322f54c3662", // Person: Dennis Krause
"personType" : "NATURAL_PERSON",
"tradeName" : null,
"salutation" : null,
"title" : null,
"givenName" : "Dennis",
"familyName" : "Krause"
},
"type" : "OPERATIONS",
"mark" : null,
"contact" : {
"uuid" : "5b2c9f23-dfe8-4081-a0d2-729fef28f314", // Contact: Dennis Krause
"caption" : "Dennis Krause",
"postalAddress" : { },
"emailAddresses" : {
"main" : "dennis.krause@example.org"
},
"phoneNumbers" : {
"main" : "+49 9932 587741"
}
}
} ]
In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one.
HTTP DELETE "/api/hs/office/relations/d9a424aa-9b35-4d31-84d9-b9490c5bc77e" // Operations-Contact: Dennis Krause for Test AG \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 204 NO_CONTENT
HTTP GET "/api/hs/office/relations/d9a424aa-9b35-4d31-84d9-b9490c5bc77e" // Operations-Contact: Dennis Krause for Test AG \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 404 NOT_FOUND
generated on 2026-08-10 04:34:19 for branch HEAD